#include <stdio.h>
#include <string.h>
#include <time.h>
#include <sys/time.h>

int sub_number(int a, int b)
{   int sum_number;
    sum_number = a -b;
    return sum_number;
}

int point(int *a, int *b)
{
    int k;
    k = *a + *b;
    return k;
}

void swap(int *x, int *y)
{
   int temp;
   temp = *x;
   *x = *y;
   *y = temp;
   return;
}

void str(char *str)
{
    char str1[12] = "Hello";
    strcpy(str, str1);
    printf("c语言中输出字符串 is %s\n",str);
    return;
}

typedef struct _Coordinate {
	int x;
	int y;
}Coordinate, *coor;

typedef struct _Point {
	Coordinate coordinate;
}Point;

int add_struct(Coordinate pt)
{
	int result = 0;
	result = pt.x + pt.y;
	return result;
}

int add_struct_nesting(Point pt)
{
	int result = 0;
	result = pt.coordinate.x + pt.coordinate.y;
	return result;
}

int struct_point(coor pt)
{
	int result = 0;
	result = pt->x + pt->y;
	return result;
}



int main()
{
    char kk[] = "456fffff";
    str(kk);

}